package com.helper;

import java.io.Serializable;

public class Student implements Serializable {

    private String index ;
    private String name ;
    private String sex ;
    private String age ;
    private String phone ;
    private String url ;
    private String shengri ;
    private String xueli ;
    private String xingzuo ;
    private String uid;

    //无参构造
    public Student(){

}
    //get和set
    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getShengri() {
        return shengri;
    }

    public void setShengri(String shengri) {
        this.shengri = shengri;
    }

    public String getXueli() {
        return xueli;
    }

    public void setXueli(String xueli) {
        this.xueli = xueli;
    }

    public String getXingzuo() {
        return xingzuo;
    }

    public void setXingzuo(String xingzuo) {
        this.xingzuo = xingzuo;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }
    //toString
    @Override
    public String toString() {
        return "Student{" +
                "index='" + index + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age='" + age + '\'' +
                ", phone='" + phone + '\'' +
                ", url='" + url + '\'' +
                ", shengri='" + shengri + '\'' +
                ", xueli='" + xueli + '\'' +
                ", xingzuo='" + xingzuo + '\'' +
                ", uid='" + uid + '\'' +
                '}';
    }
    //有参
    public Student(String index, String name, String sex, String age, String phone, String url, String shengri, String xueli, String xingzuo, String uid) {
        this.index = index;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.phone = phone;
        this.url = url;
        this.shengri = shengri;
        this.xueli = xueli;
        this.xingzuo = xingzuo;
        this.uid = uid;
    }
}
